home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11502 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  22 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.uunet.ca!wildcan!sq!msb
  3. From: msb@sq.com (Mark Brader)
  4. Subject: Re: Example of an unintelligible program in C
  5. Message-ID: <1996Mar24.195859.14295@sq.com>
  6. Organization: SoftQuad Inc., Toronto, Canada
  7. References: <4iegj7$evn@bee.uspnet.usp.br> <4if0i4$qsm@garden.csc.calpoly.edu> <4ij8je$lb9@charm.il.ft.hse.nl> <4iq67bINN3gs@keats.ugrad.cs.ubc.ca>
  8. Date: Sun, 24 Mar 1996 19:58:59 GMT
  9.  
  10. > What about the use of putchar without having included <stdio.h>, hmm?
  11.  
  12. The other points in the cited article were correct, but there is nothing
  13. wrong with allowing putchar() to be declared implicitly.  printf() would
  14. be a different matter, of course.  See section 7.1.7 of the standard
  15. (4.1.6 in the original ANSI version), 2nd paragraph.
  16. -- 
  17. Mark Brader             | "scanf() is even more complicated and usually does
  18. msb@sq.com              |  something almost but not completely unlike what
  19. SoftQuad Inc., Toronto  |  you want."   -- Chris Torek (after Douglas Adams)
  20.  
  21. My text in this article is in the public domain.
  22.